package com.wpp.rpc.api;

import com.wpp.rpc.model.Message;
import com.wpp.rpc.model.MessageList;

import java.rmi.Remote;
import java.rmi.RemoteException;

public interface ComplexService extends Remote {
    MessageList addMessage(Message msg) throws RemoteException;
}
